package com.kotlinvben.exception

open class BusinessException(
    open val code: Int,
    override val message: String
) : RuntimeException(message)

object BusinessErrorCode {
    const val NOT_FOUND = 404
    const val BAD_REQUEST = 400
    const val UNAUTHORIZED = 401
    const val FORBIDDEN = 403
    const val INTERNAL_ERROR = 500
} 